home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group99a.txt / 000091_icon-group-sender _Wed Apr 7 13:00:06 1999.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id MAA24236
  4.     for icon-group-addresses; Wed, 7 Apr 1999 12:55:09 -0700 (MST)
  5. Message-Id: <199904071955.MAA24236@baskerville.CS.Arizona.EDU>
  6. From: gep2@terabites.com
  7. Date: Wed, 07 Apr 1999 11:59:21 -0500
  8. Subject: Re: Printing source code and results
  9. To: Vickie.M.Fazio2@ucm.com, icon-group@optima.CS.Arizona.EDU
  10. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  11. Status: RO
  12.  
  13. > Can you enlighten me on how to print my source code and results.  
  14.  
  15. To at least some degree this will vary depending on the operating system 
  16. environment you have.
  17.  
  18. If you're running on a Windows (and DOS) environment, you can load your Icon 
  19. source program into Notepad and print it from there.
  20.  
  21. You can print output by opening your output file as LPT1 (use that as your 
  22. filename).  Alternately, if you write your output to a specific disk file, you 
  23. can also open that file in Notepad and print it the same way you would your 
  24. source code.
  25.  
  26. Likewise, you can just (from the DOS shell command line) copy your Icon source 
  27. program to LPT1 for printing:
  28.  
  29.      copy  myprog.icn  lpt1
  30.  
  31. I think you can also 'drag and drop' a text file icon onto a printer icon, 
  32. although I personally never do it that way.
  33.  
  34. If your program writes to standard output, you can also usually print the output 
  35. directly by redirecting your program's standard output to the printer:
  36.  
  37.      iconx  myprog  >lpt1
  38.  
  39. I hope these help you.
  40.  
  41. Gordon Peterson
  42. http://www.computek.net/public/gep2/
  43. Support the Anti-SPAM Amendment!  Join at http://www.cauce.org/
  44. 12/19/98: the day the Conservatives demonstrated their scorn for their
  45.    fraudulent sham of representative government.  Voters, remember it!
  46.  
  47.